package cn.wolfcode.car.business.service;


import cn.wolfcode.car.business.domain.BpmnInfo;
import cn.wolfcode.car.business.domain.Statement;
import cn.wolfcode.car.business.query.BpmnInfoQuery;
import cn.wolfcode.car.business.query.StatementQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.util.List;

/**
 * 服务结算单接口
 */
public interface IBpmnInfoService {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<BpmnInfo> query(BpmnInfoQuery qo);


    String upload(MultipartFile file) throws IOException;

    void deploy(String path, String bpmnType, String info) throws IOException;

    InputStream getFileInputStream(String deploymentId, String type);

    void delete(Long id);

    BpmnInfo getByBpmnType(String bpmnType);

    BpmnInfo get(Long bpmnInfoId);
}
